<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
	<script src="../node_modules/axios/dist/axios.min.js"></script>
</head>
<body>

</body>
<script type="module">
	import axios from "./myAxios.js";
	axios.defaults.baseURL = "http://zhangpeiyue.com";
	axios.defaults.method = "get";
	axios.defaults.timeout = 4000;
	axios("/scoreList").then(value=>{
		console.log(value);
	}).catch(err=>{
		console.log(err);
	});
	// console.log(result);
</script>
</html>